Skip to content

docs(oasf): taxonomy and schema validator updates#483

Merged
akijakya merged 3 commits into
mainfrom
update/oasf-categories-schema-validator-updates
Jun 2, 2026
Merged

docs(oasf): taxonomy and schema validator updates#483
akijakya merged 3 commits into
mainfrom
update/oasf-categories-schema-validator-updates

Conversation

@akijakya

Copy link
Copy Markdown
Member
  1. updated contribution guide with latest changes on how the taxonomy gets created from the json files.
  2. updated validation comparison since the json draft-07 schema generator got updated (feat(server): json schema generator maxLength and pattern constraints oasf#464)

@akijakya akijakya requested a review from keraron May 26, 2026 14:24
@akijakya akijakya self-assigned this May 26, 2026
@akijakya akijakya requested a review from a team as a code owner May 26, 2026 14:24
Copilot AI review requested due to automatic review settings May 26, 2026 14:24

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates OASF documentation to reflect recent taxonomy/category creation changes and align the validator behavior comparison with updated JSON Schema generation output.

Changes:

  • Updated validation comparison to reflect that regex pattern constraints now fail JSON Schema validation (while API treats them as warnings).
  • Updated contributing guide to describe category creation via "category": true on class JSON files and adjusted extension directory guidance accordingly.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
docs/oasf/validation-comparison.md Updates the comparison table and summary sections to reflect stricter JSON Schema behavior for regex patterns and inherited max length.
docs/oasf/contributing.md Updates contributor guidance on taxonomy/category creation and extension layout, including marking categories via a class JSON property.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/oasf/contributing.md Outdated
Comment thread docs/oasf/contributing.md Outdated
@akijakya akijakya force-pushed the update/oasf-categories-schema-validator-updates branch from 4ca8d71 to 8ae8cc6 Compare June 1, 2026 14:50
akijakya added 2 commits June 1, 2026 17:20
Signed-off-by: András Jáky <ajaky@cisco.com>
agntcy/oasf#464
Signed-off-by: András Jáky <ajaky@cisco.com>
@akijakya akijakya force-pushed the update/oasf-categories-schema-validator-updates branch from 8ae8cc6 to f5c89ca Compare June 1, 2026 15:20
Comment thread docs/oasf/contributing.md Outdated
2. Create a new file → `<class_name.json>` inside the family and category
specific subdirectory in the
[/schema](https://github.com/agntcy/oasf/tree/main/schema) folder.
2. Create a new file → `<class_name.json>` inside the appropriate subdirectory

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
2. Create a new file `<class_name.json>` inside the appropriate subdirectory
2. Create a new file called `<class_name.json>` inside the appropriate subdirectory

Comment thread docs/oasf/contributing.md Outdated
| `objects` | Create it to define new objects. |
| `profiles` | Create it to define new profiles. |

**Note:** Categories are no longer defined in separate category files. Instead,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
**Note:** Categories are no longer defined in separate category files. Instead,
!!! note
Categories are no longer defined in separate category files. Instead,
mark any class as a category by adding `"category": true` to its JSON file.
Categories can be nested at any level by having one category extend another.

Comment thread docs/oasf/contributing.md Outdated
| `profiles` | Create it to define new profiles. |

**Note:** Categories are no longer defined in separate category files. Instead,
mark any class as a category by adding `"category": true` to its JSON file.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
mark any class as a category by adding `"category": true` to its JSON file.

Comment thread docs/oasf/contributing.md Outdated

**Note:** Categories are no longer defined in separate category files. Instead,
mark any class as a category by adding `"category": true` to its JSON file.
Categories can be nested at any level by having one category extend another.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Categories can be nested at any level by having one category extend another.

Comment thread docs/oasf/contributing.md Outdated
issue's author on what might be missing.
- Review and update the existing content of our
[docs](https://docs.agntcy.org/oasf/open-agentic-schema-framework) with
[docs](https://docs.agntcy.org/oasf/open-agentic-schema-framework/) with

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
[docs](https://docs.agntcy.org/oasf/open-agentic-schema-framework/) with
[docs](./open-agentic-schema-framework.md) with

Signed-off-by: András Jáky <ajaky@cisco.com>
Copilot AI review requested due to automatic review settings June 2, 2026 10:27
@akijakya akijakya requested a review from keraron June 2, 2026 10:29

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

Comment thread docs/oasf/contributing.md
An attribute is the more generic name for both fields and entities in OASF.
A field is a scalar attribute while an entity is a complex attribute.
- **Category:** A Category organizes classes that represent a particular domain.
- **Category:** A Category organizes classes that represent a particular domain. Categories are marked by adding `"category": true` to a class JSON file and can be created at any level of the taxonomy tree.
Comment thread docs/oasf/contributing.md
Comment on lines +395 to +402
| Name | Description |
| ----------------- | -------------------------------------------------------------------- |
| `dictionary.json` | Create it to define new attributes. |
| `skills` | Create it to define new skill classes. Categories are created by adding `"category": true` to a skill class JSON file. |
| `domains` | Create it to define new domain classes. Categories are created by adding `"category": true` to a domain class JSON file. |
| `modules` | Create it to define new module classes. Categories are created by adding `"category": true` to a module class JSON file. |
| `objects` | Create it to define new objects. |
| `profiles` | Create it to define new profiles. |

@keraron keraron left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM :)

@akijakya akijakya merged commit 1c597ba into main Jun 2, 2026
7 checks passed
@akijakya akijakya deleted the update/oasf-categories-schema-validator-updates branch June 2, 2026 11:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants